package com.bonana.core.form;

import com.bonana.core.entity.mybatis.Boboplan;

import java.sql.Timestamp;

/**
 * Created by Administrator on 2016/7/12.
 */
public class BoPlanFrom {
    public Boboplan toPlanModel() {
        Boboplan plan = new Boboplan();
        plan.setBeginTime(beginTime);
        plan.setEndTime(endTime);
        plan.setPlanId(planId);
        plan.setPlatformId(platformId);
        plan.setUserId(userId);
        plan.setStatus(0);
        plan.setRoomId(roomId);
        plan.setRoomUrl(roomUrl);
        return plan;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getPlanId() {
        return planId;
    }

    public void setPlanId(Integer planId) {
        this.planId = planId;
    }

    public Integer getPlatformId() {
        return platformId;
    }

    public void setPlatformId(Integer platformId) {
        this.platformId = platformId;
    }

    public Timestamp getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Timestamp beginTime) {
        this.beginTime = beginTime;
    }

    public Timestamp getEndTime() {
        return endTime;
    }

    public void setEndTime(Timestamp endTime) {
        this.endTime = endTime;
    }

    private Integer userId;
    private Integer planId;
    private Integer platformId;
    private Timestamp beginTime;
    private Timestamp endTime;

    public String getRoomId() {
        return roomId;
    }

    public void setRoomId(String roomId) {
        this.roomId = roomId;
    }

    public String getRoomUrl() {
        return roomUrl;
    }

    public void setRoomUrl(String roomUrl) {
        this.roomUrl = roomUrl;
    }
    private String roomId;
    private String roomUrl;
}
